package yang.learn.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import yang.learn.entity.ChatRecord;

import java.util.List;

@Repository
public interface ChatRecordDao {

    public void add(ChatRecord chatRecord);

    public void del(ChatRecord chatRecord);

    public List<ChatRecord> queryAll(ChatRecord chatRecord);

    public ChatRecord query(ChatRecord chatRecord);
}
